package com.financing.platform.dao;

import java.sql.SQLException;
import java.util.List;

import com.financing.platform.dto.ProjectAccountDTO;

public interface IProjectAccountDao extends IBaseDao  {
	/**
	 * 
	* @Title: addProjectAccount 
	* @Description: 添加产品募集账号信息
	* @param  projectAccountDTO
	* @param @throws SQLException    
	* @return int   
	* @throws
	 */
	public int addProjectAccount(ProjectAccountDTO projectAccountDTO) throws SQLException;
	
	/**
	 * 
	* @Title: queryProjectAccount 
	* @Description: 查询产品募集账号信息
	* @param   projectId
	* @return List<ProjectAccountDTO>   
	* @throws
	 */
	public List<ProjectAccountDTO> queryProjectAccount(int projectId);
	
	/**
	 * @throws SQLException 
	 * 
	* @Title: deleteProjectAccount 
	* @Description: 删除产品募集账号
	* @param   projectId
	* @return int   
	* @throws
	 */
	public int deleteProjectAccount(int projectId) throws SQLException;
}
